package com.yoga.manager.uitl;

/**
 * Created by chenjin on 2020/2/27.
 */
public class RedisKeyConfig {

    private final static String yogaUser="yoga_user_";
    private final static String yogaAdmin="yoga_admin_";



    public static String getYogaUserBOKey(Long yogaUserId){
        return new StringBuilder().append(yogaUser).append(yogaUserId).append("_").toString();

    }

    public static String getYogaAdminBOKey(Long yogaAdminId) {
        return new StringBuilder().append(yogaAdmin).append(yogaAdminId).append("_").toString();
    }
}
